from PySide6 import QtCore, QtWidgets


# self.btn_to_csv = QtWidgets.QPushButton("生成 CSV")
# self.btn_offline = QtWidgets.QPushButton("离线答题")


class OptionWidget(QtWidgets.QWidget):
    def __init__(self):
        super().__init__()

        self.title = "口算练习首页"

        self.setWindowTitle(self.title)
        self.setFixedSize(300, 150)

        self.lb_title = QtWidgets.QLabel(
            self.title, alignment=QtCore.Qt.AlignCenter)

        self.btn_generate = QtWidgets.QPushButton("生成习题")
        self.btn_check = QtWidgets.QPushButton("检查习题")
        self.btn_offline = QtWidgets.QPushButton("离线答题")

        self.layout = QtWidgets.QVBoxLayout(self)
        self.layout.addWidget(self.lb_title)
        self.layout.addWidget(self.btn_generate)
        self.layout.addWidget(self.btn_check)
        self.layout.addWidget(self.btn_offline)
